﻿
using Gameplay.PVE;
using NpcFramework;
using System.Collections.Generic;
using UnityEngine;
using Yoozoo.Gameplay.SceneSeparate;

namespace com.yoozoo.gta.Gameplay.PVE
{
    public class SceneSeparateManagerData : ScriptableObject
    {
        [Header("说明")]
        public string desc;

        public string PrefabRootPath;
        public string[] PrefabPaths;
        [Header("动态加载对象")]
        // 所有场景对象
        //public List<SceneObjectDisplay> loadObjects;
        public SceneObjectInfo[] _loadObjects;
        [Header("所有静态对象(场景初始化就加载)")]
        //所有静态对象(场景初始化就加载，后续不在判断)
        //public List<SceneObjectDisplay> staticObjects;
        public SceneObjectInfo[] _staticObjects;
        [Header("路径点")]
        // 路径点
        public List<NpcWayPathData> wayPaths;
        [Header("场景中的NPC生成点")]
        // 场景中的NPC生成点
        public List<SceneNpcBirthPoint> npcPoints;

        public List<NpcBrithPointData> allPointData;
        //地图区域
        public Bounds bounds;

        public bool asyn = true;
        // 检测器
        [DisplayOnly]
        public SceneDetectorBase detector;

        public Vector3 DetectorSize;
        public Vector3 NPCDetectorSize;
        public float CameraOffset;
        public Vector3 DetectorOffset;

        //数据结构类型
        public TreeType treeType = TreeType.LinearQuadTree;

        //public GgameSceneConfig mapData;

        public MeshRendererData[] MeshRendererDataList;

    }
}
